Skip to content

Nginx: Fix Strict-Transport and X-Frame-Options#112

Closed
MiguelNdeCarvalho wants to merge 1 commit intolinuxserver:masterfrom
MiguelNdeCarvalho:patch-1
Closed

Nginx: Fix Strict-Transport and X-Frame-Options#112
MiguelNdeCarvalho wants to merge 1 commit intolinuxserver:masterfrom
MiguelNdeCarvalho:patch-1

Conversation

@MiguelNdeCarvalho
Copy link
Copy Markdown
Contributor

Errors:
The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.

linuxserver.io

Thanks, team linuxserver.io

Errors:
          The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
          The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.
@LinuxServer-CI
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member

@aptalca aptalca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HSTS should be handled at the reverse proxy level, or be manually added by the user

@MiguelNdeCarvalho
Copy link
Copy Markdown
Contributor Author

So I should do this pr on letsencrypt container then, right?

@aptalca
Copy link
Copy Markdown
Member

aptalca commented Oct 7, 2019

No, HSTS is already an option there in ssl.conf

@MollyBe
Copy link
Copy Markdown

MollyBe commented Nov 18, 2019

Related to #119

With the changes to Nextcloud 17, shouldn't we be including:
add_header X-Frame-Options "SAMEORIGIN" always;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants